package com.party.core.model.gift;

import com.party.core.model.BaseModel;

import java.util.Date;

/**
 * @Author: Administrator.
 * @Description: 礼包
 * @Date:Created in 2017/11/14 0014 上午 10:41.
 */
public class Gift extends BaseModel {
    public static final Integer MODEL_INVENTED = 1; // 虚拟
    public static final Integer MODEL_MATTER = 2; // 实物
    public static final Integer MODEL_ADVERTISE = 3; // 广告链接

    private String name; // 礼包名称
    private String pic; // 图片
    private Float price; // 礼包价值
    private Date startTime; // 有效期开始时间
    private Date endTime; // 有效期结束结束时间
    private Integer model; // 礼包模式 1:虚拟 2：实物 3：广告
    private Long stock; // 发放总数
    private Long salesNum; // 领取总数
    private String type; // 礼包类型
    private String condition; // 领取条件
    private String conditionParams; // 条件参数
    private String advertiseUrl; // 广告链接
    private String explain; // 概要说明（兑换券的说明）
    private Integer progress; // 进度 1：进行中 2：未开始 3：已结束

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getModel() {
        return model;
    }

    public void setModel(Integer model) {
        this.model = model;
    }

    public Long getStock() {
        return stock;
    }

    public void setStock(Long stock) {
        this.stock = stock;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public String getConditionParams() {
        return conditionParams;
    }

    public void setConditionParams(String conditionParams) {
        this.conditionParams = conditionParams;
    }

    public Long getSalesNum() {
        return salesNum;
    }

    public void setSalesNum(Long salesNum) {
        this.salesNum = salesNum;
    }

    public String getAdvertiseUrl() {
        return advertiseUrl;
    }

    public void setAdvertiseUrl(String advertiseUrl) {
        this.advertiseUrl = advertiseUrl;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public Integer getProgress() {
        return progress;
    }

    public void setProgress(Integer progress) {
        this.progress = progress;
    }
}
